Api.EnableProfilePosition 方法
新增曲線速度 (Profile Velocity)、曲線加速度 (Profile Acceleration) 和曲線減速度 (Profile Deceleration) 變數至 PDO。
命名空間:IntervalZero.KINGSTAR.Local.Api
組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0
語法
public KsError EnableProfilePosition(
bool Active
)
Public Function EnableProfilePosition(
Active As Boolean
) As KsError
參數
Active
型別:bool
true:曲線速度 (Profile Velocity)、曲線加速度 (Profile Acceleration) 和曲線減速度 (Profile Deceleration) 變數匹配至 PDO。false:未匹配至 PDO,預設為 false。
回傳值
方法的回傳代碼。
備註
可用的 EtherCAT 狀態
ecatOffline
範例
N/A
參見